home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / Bonus / Plasmatech / ptscp_examples.exe / %MAINDIR% / Examples / NonShellNodes / CBuilder / FMain.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  1.8 KB  |  51 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef FMainH
  3. #define FMainH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include "UPTSplitter.hpp"
  10. #include "UPTShellControls.hpp"
  11. #include "UPTTreeList.hpp"
  12. #include <vcl\ComCtrls.hpp>
  13. #include "UPTFrame.hpp"
  14. #include <vcl\Menus.hpp>
  15. //---------------------------------------------------------------------------
  16. class TFrmMain : public TForm
  17. {
  18. __published:    // IDE-managed Components
  19.     TPTSplitter *PTSplitter1;
  20.     TPTShellTree *PTShellTree1;
  21.     TPTFrame *PTFrame1;
  22.     TPTShellList *PTShellList1;
  23.     TMainMenu *MainMenu1;
  24.     TMenuItem *File1;
  25.     TMenuItem *Exit1;
  26.     TMenuItem *Test1;
  27.     TMenuItem *Registercustomicon1;
  28.     TMemo *Memo1;
  29.     void __fastcall Exit1Click(TObject *Sender);
  30.     void __fastcall FormCreate(TObject *Sender);
  31.     
  32.     
  33.     void __fastcall PTShellTree1Change(TObject *Sender, TTreeNode *Node);
  34.     
  35.     void __fastcall PTShellList1AddItem(TObject *aSender,
  36.     Uptshell95::IShellFolder *aParentIShf, Uptshell95::PItemIDList aParentAbsIdList,
  37.     Uptshell95::PItemIDList aItemRelIdList, int aAttribs, LongBool &afAllowAdd);
  38.     void __fastcall PTShellList1FillComplete(TObject *Sender);
  39.     void __fastcall Registercustomicon1Click(TObject *Sender);
  40.     
  41.     void __fastcall FormDestroy(TObject *Sender);
  42.     void __fastcall PTShellList1DblClickOpen(TObject *aSender, bool &afHandled);
  43. private:    // User declarations
  44. public:        // User declarations
  45.     __fastcall TFrmMain(TComponent* Owner);
  46. };
  47. //---------------------------------------------------------------------------
  48. extern TFrmMain *FrmMain;
  49. //---------------------------------------------------------------------------
  50. #endif
  51.